<?php
class Search_IndexController extends Zend_Controller_Action {

	public $skin = array(
		'layout' => 'search_default'
	);
	
	/**
	 * @return unknown_type
	 */
	public function indexAction() {
		$model = new Search_Model_Search();

		$find = $this->_getParam('find');
		$find = $model->prepareFind($find);

		$this->view->find = $find;

		$result = $model->findCache($find);
		$status = $model->getStatus();
		
		$this->view->rowset = $result;
	}
}